<?
  $conditions = Zend_Registry::get('body-conditions');

?>
<? foreach ($conditions as $cName => $c): ?>
<?
  $cID = str_replace("cond", "", $cName);
?>
   		 <table width="100%" id="t_<?= $cID ?>" <?= (++$first != 1)?'style="display: none;"':'' ?> border="0" cellspacing="0" cellpadding="0">
    		<tbody>
			<tr>
   				 <td height="32" colspan="2"><strong><?= $c['name'] ?></strong></td>
   			</tr>
		<? foreach ($c['items'] as $id => $text): ?>
    		<tr>
    			 <td width="13%" height="35"><input name="<?= str_replace(" ", "_", $c['name']) ?>"  onclick="return show_hid('<?= $cID ?>','<?= $text ?>');" type="radio" value="<?= $text ?>"></td>
    			 <td width="87%"><?= $text ?></td>
    		</tr>
		<? endforeach ?>
    </tbody></table>
<script>
  _conditionMap[<?= $cID ?>] = "<?= $c['name'] ?>";
  <? if ($first == 1): ?>
    _CAR.conditionSelectedTable = <?= $cID ?>
  <? endif; ?>
</script>
<? endforeach; ?>

